package com.futer.ssm.service.impl;

import com.futer.ssm.dao.UserMapper;
import com.futer.ssm.model.User;
import com.futer.ssm.model.UserExample;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UserService implements com.futer.ssm.service.UserService {

    @Resource
    private UserMapper userMapper;

    @Override
    public List<User> getUserByName(UserExample name) {
        return userMapper.selectByExample(name);
    }
}
